←Select platform

StorageCommit(DicomScp,IEnumerable<string>,string,StorageCommitOptions) Method

Summary

Sends a storage commit request message to a peer member of a connection defined by SCP.

Syntax
C#
VB
C++
public string StorageCommit( 
   DicomScp Scp, 
   IEnumerable<string> files, 
   string transactionUid, 
   StorageCommitOptions storageCommitOptions 
) 
Public Function StorageCommit( 
   ByVal Scp As DicomScp, 
   ByVal files As System.Collections.Generic.IEnumerable(Of String), 
   ByVal transactionUid As String, 
   ByVal storageCommitOptions As StorageCommitOptions 
) As String 
public:  
   String^ StorageCommit( 
      DicomScp^ Scp, 
      System::Collections::Generic::IEnumerable<String^>^ files, 
      String^ transactionUid, 
      StorageCommitOptions^ storageCommitOptions 
   ) 

Parameters

Scp

The peer connection to send the storage commit request to.

files

List of files to store.

transactionUid

The UID for the transaction. If null or empty, it will be generated and returned.

storageCommitOptions

A StorageCommitOptions which contains the options for the store.

Return Value

The UID for the transaction. If transactionUid was null or empty, a new UID will be generated and returned, otherwise, the same value will be returned.

Remarks

This overload extracts a list of SOPInstanceUID from a list of DICOM files to prepare the DicomDataSet that is used with the N-Action-Req.

If you already have a list of SopInstanceReference, you can use StorageCommit(DicomScp,IEnumerable<T><SopInstanceReference>,string,StorageCommitOptions).

If you have a DicomDataSet that contains all the StorageCommit (N-Action-Req), you can use StorageCommit(DicomScp,DicomDataSet,StorageCommitOptions).

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Scu Assembly